package com.zhijiang.util.redis;

import lombok.Data;

import java.util.concurrent.TimeUnit;

@Data
public class RedisConstants {


    public static final String LOGIN = "user:login:";

    public static final Integer LOGIN_CODE_TTL = Math.toIntExact(30L);

    public static final TimeUnit LOGINUNIT = TimeUnit.MINUTES;
}
